
import { defineStore } from "pinia";

export const useLayoutConfigStore = defineStore({
  id: "layout",
  state: () => ({
    configForm: {
      menuBg: '#ffffff',
      menuTextColor: '#000000',
      menuActiveTextColor: '#03A9F4',
      logoBg: '#ffffff',
      logoBorderColor: '#ededed',
      rightHeaderBg: '#ffffff',
      pageBg: '#fafafa',
      pageTextColor: '#000000'
    },
    selectTheme: '暗黑主题',
    themeList: [
      { name: '暗黑主题', configForm: {
        menuBg: '#01243F',
        menuTextColor: '#FAFAFA',
        menuActiveTextColor: '#F4E003',
        logoBg: '#00141C',
        logoBorderColor: '#00141C',
        rightHeaderBg: '#01243F',
        pageBg: '#fafafa',
        pageTextColor: '#080000' 
      } },
      { name: '白色主题', configForm: {
        menuBg: '#ffffff',
        menuTextColor: '#000000',
        menuActiveTextColor: '#03A9F4',
        logoBg: '#ffffff',
        logoBorderColor: '#ededed',
        rightHeaderBg: '#ffffff',
        pageBg: '#f0f0f0',
        pageTextColor: '#000000'
      } },

    ]
  }),

  actions: {
    increment(num: number) {
    }
  }
})